package com.zm.demo;

import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.ComponentScan;

@AutoConfiguration
@ConditionalOnProperty(prefix = "mydemo",name = "enable",havingValue = "true")
@ComponentScan("com.zm.demo")
public class DemoConfig {
}
